
import numpy as np

W1 = 0
W2 = 0
X = 0

def Z_list_and_max(W1_list, W2_list):
    A = W1 * X
    Z = W2 * np.maximum(A, 0)
    return Z

def softmax(x):
    return np.exp(x)/np.sum(np.exp(x), axis=0)